<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'news.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
   
  <body  bgcolor="657142">
    <table border="1" align="center" width="100%">
    	<tr>
    		<td colspan="10" align="right">作者：<input type="text"/>标题：<input type="text"/>
    			<input type="button" value="搜索"/>&nbsp;&nbsp;
    		</td>
    	</tr>
    	<tr bgcolor="yellow">
    		<td><input type="checkbox"/></td>
    		<td>序号</td>
    		<td>标题</td>
    		<td>略文</td>
    		<td>作者</td>
    		<td>栏目</td>
    		<td>发布时间</td>
    		<td>收藏数</td>
    		<td>状态</td>
    		<td>操作</td>
    	</tr>
    	<tr>
    		<td><input type="checkbox"/></td>
    		<td>1</td>
    		<td>放假哦啊恩负进决赛</td>
    		<td>次哦啊好热积分</td>
    		<td>张三</td>
    		<td>呵呵</td>
    		<td>2015/10/14</td>
    		<td>1233</td>
    		<td>已发布</td>
    		<td><a href="scan.jsp">查看</a>&nbsp;&nbsp;&nbsp;<a href="news.jsp"  onclick="javascript:alert('确定删除？')">删除</a></td>
    	</tr>
    	<tr>
    		<td><input type="checkbox"/></td>
    		<td>2</td>
    		<td>某地发现神兽一只</td>
    		<td>据报道是一直草泥马啊啊啊啊啊啊 啊</td>
    		<td>张三</td>
    		<td>阿达</td>
    		<td>2015/10/14</td>
    		<td>1232223</td>
    		<td>已发布</td>
    		<td><a href="scan.jsp">查看</a>&nbsp;&nbsp;&nbsp;<a href="news.jsp" onclick="javascript:alert('确定删除？')">删除</a></td>
    	</tr>
    	<tr>
    		<td><input type="checkbox"/></td>
    		<td>3</td>
    		<td>某学校执行封校查办早恋情况</td>
    		<td>但是被家长反对！！</td>
    		<td>李四</td>
    		<td>呵呵</td>
    		<td>2015/10/14</td>
    		<td>123</td>
    		<td>已发布</td>
    		<td><a href="scan.jsp">查看</a>&nbsp;&nbsp;&nbsp;<a href="news.jsp" onclick="javascript:alert('确定删除？')">删除</a></td>
    	</tr>
    	<tr>
    		<td><input type="checkbox"/></td>
    		<td>4</td>
    		<td>A市决定实行母猪政策</td>
    		<td>详情请关注具体报道</td>
    		<td>王五</td>
    		<td>呵呵</td>
    		<td>2015/10/14</td>
    		<td>12332</td>
    		<td>已发布</td>
    		<td><a href="scan.jsp">查看</a>&nbsp;&nbsp;&nbsp;<a href="news.jsp" onclick="javascript:alert('确定删除？')">删除</a></td>
    	</tr>
    	<tr>
    		<td colspan="10" align="right">每页显示<select ></select>&nbsp;&nbsp;<input type="button" value="确定"/>&nbsp;&nbsp;
    		<input type="button" value="首页"/>&nbsp;&nbsp;<input type="button" value="上一页"/>&nbsp;&nbsp;<input type="button" value="下一页"/>
    		&nbsp;&nbsp;<input type="button" value="尾页"/>&nbsp;&nbsp;第<input type="text" size="3"/> 页&nbsp;&nbsp;<input type="button" value="确定"/>
    		</td>
    	</tr>
    	<tr>
    		<td colspan="10" align="right">&nbsp;&nbsp;&nbsp;<input type="button" value="新增" onclick="javascript:window.location.href='new.jsp';"/>&nbsp;
    			<input type="button" value="删除"/>&nbsp;<input type="button" value="返回" onclick="javascript:window.location.href='right.jsp';"/></td>
    	</tr>
    </table>
  </body>
</html>
